I2C to Grove bridge

General

HW: any uC e.g. ATTINY with custom PCB
SW: C++

Idea

Details

HW interface

Memory Map

8 pages with 32 bytes each

page function
0 read/write Pin A
1 parameters Pin A
2 read/write Pin B
3 parameters Pin B
4 empty
5 setup INT line
6 setup LED behaviour
7 setup device, e.g. I2C adress
## Modes
- digital (static) => no parameter
- digital (single shot, monostable) => duration
- digital (blinking, astable) => low-time, high-time
- digital (PWM) => frequency, duty cycle

Interrupt

LED